﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Master/Admin.Master" AutoEventWireup="true" CodeBehind="DealerCheckUserBaseList.aspx.cs" Inherits="Besture.UI.Admin.UserBase.DealerCheckUserBaseList" %>

<%@ Import Namespace="Besture.Common" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" runat="server">
    <div class="listPage">
        <!--顶部操作按钮开始-->
		<div class="operateBar">
			<ul>
				<li><a href="javascript:grid.SelectRows();" class="operate-all"><s class="icon-gou-red"></s>全选</a></li>
				<li><a href="javascript:grid.UnselectRows();"  class="operate-cancel"><s class="icon-cancel-yellow"></s>
					取消</a></li>
				<li>
					<asp:LinkButton ID="lbAdd" runat="server" class="operate-add" OnClick="lbAdd_Click"><s class="icon-add-green"></s>审核通过</asp:LinkButton>
				</li>
				<li>
					<asp:LinkButton ID="LinkButton1" runat="server" class="operate-add" OnClick="lbClear_Click" ><s class="icon-add-green"></s>取消审核</asp:LinkButton>
				</li>
			</ul>
        </div>
        <!--顶部操作按钮结束-->
        <cms:ASPxGridView ID="grid" ClientInstanceName="grid" runat="server" 
            AutoGenerateColumns="False" KeyFieldName="ID" OnCustomCallback="GridCustomCallback" >
            <Columns>
                <cms:GridViewCommandColumn ShowSelectCheckbox="true" VisibleIndex="0" Width="50px"
                    FixedStyle="Left">
                    <HeaderTemplate>
                        <input type="checkbox" onclick="grid.SelectAllRowsOnPage(this.checked);" title="全选/全不选"
                            id="chkAll" runat="server" />
                    </HeaderTemplate>
                    <HeaderStyle HorizontalAlign="Center" />
                </cms:GridViewCommandColumn> 
                   <cms:GridViewDataTextColumn Caption="用户头像" VisibleIndex="1" Width="100" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center">
                       <DataItemTemplate>
                          <img src="\Upload\image\Content\<%#Eval("UserImage") %>" width="80" height="60" />
                      </DataItemTemplate>
                </cms:GridViewDataTextColumn>  
				<cms:GridViewDataTextColumn Caption="企业名称" VisibleIndex="5" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="CompanyName">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn>
				<cms:GridViewDataTextColumn Caption="法定代表人" VisibleIndex="6" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="Representative">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn>
				<cms:GridViewDataTextColumn Caption="详细地址" VisibleIndex="7" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="Address">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn>
				<cms:GridViewDataTextColumn Caption="用户等级" VisibleIndex="8" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="UserRating">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn>
				<cms:GridViewDataTextColumn Caption="等级积分" VisibleIndex="9" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="RatingIntegration">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn>
				<cms:GridViewDataTextColumn Caption="审核状态" VisibleIndex="10" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="CheckStatusName" >
				    <Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn> 
				<cms:GridViewDataTextColumn Caption="审核时间" VisibleIndex="12" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="StatusTime">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn> 
            </Columns>
        </cms:ASPxGridView>
    </div>
</asp:Content>
